<template>
	<view class="container">
		<view class="tips">签收提示：需要本人凭签收码或本人身份证进行签收</view>

		<view class="" style="padding: 0 20rpx;">
			<view class="good">
				<view class="goodImg">
					<image :src="good.img"></image>
				</view>
				<view class="goodInfo">
					<view class="" style="color: black;">{{ good.name }}</view>
					<view class="" style="margin-top: 30rpx; line-height: 1.5rem;">
						<view class="" style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">套餐：{{ good.info }}</view>
						<view class="">租期：{{ good.time }}</view>
						<view class="">总租金：<span>￥{{ good.price }}</span>（12期）</view>
					</view>
				</view>
			</view>
		</view>
		
		<view class="" style="background-color: #fff; margin-top: 20rpx;">
			<view class="title">商家发货物流</view>
		</view>
		
		<view class="" style="margin-top: 20rpx; padding: 0 20rpx;">
			<view class="progess">
				<image src="../../../../static/images/door.png" mode></image>
				<span>上门安装</span>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				good: {}
			}
		},
		onLoad(options) {
			this.good = JSON.parse(decodeURIComponent(options.good))
			this.good.img = '../../../../static/image/iphone.jpg'
		},
		methods: {

		}
	}
</script>

<style scoped>
	.container {
		font-size: 30rpx;
	}

	.tips {
		background-color: rgb(255, 244, 237);
		color: rgb(240, 140, 22);
		padding: 20rpx;
	}

	.good {
		background-color: #fff;
		border-radius: 20rpx;
		margin-top: 20rpx;
	}

	.good {
		display: flex;
		padding: 20rpx;
		font-size: 25rpx;
	}

	.goodImg image {
		width: 200rpx;
		height: 200rpx;
	}

	.goodInfo view {
		color: rgb(152, 152, 152);
	}

	.top image {
		width: 30rpx;
		height: 30rpx;
		margin-left: 20rpx;
	}
	.title {
		padding: 20rpx 0; 
		text-align: center; 
		font-weight: 600; 
		font-size: 40rpx; 
		border-bottom: 6rpx solid #ff0000; 
		border-radius: 4rpx;
		display: inline-block;
		left: 50%;
		transform: translateX(-50%);
		position: relative;
	}
	.progess {
		background-color: #fff;
		padding: 20rpx;
		display: flex;
		align-items: center;
	}
	.progess image {
		width: 60rpx;
		height: 60rpx;
	}
	.progess span {
		margin-left: 40rpx;
	}
</style>
